From 0f58b6636e777197dc5f52e95ef77cfa8f0d094f Mon Sep 17 00:00:00 2001 From: tsteven4 <13596209+tsteven4@users.noreply.github.com> Date: Sat, 9 Sep 2023 07:12:34 -0600 Subject: [PATCH] drop extra semicolons --- duplicate.cc | 2 +- googletakeout.h | 2 +- mtk_logger.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/duplicate.cc b/duplicate.cc index 4739ae450..e79c1b4e9 100644 --- a/duplicate.cc +++ b/duplicate.cc @@ -118,7 +118,7 @@ void DuplicateFilter::process() for (auto it = values.cbegin(); it != values.cend(); ++it) { Waypoint* wpt = *it; if (purge_duplicates || (wpt != wptfirst)) { - wpt->wpt_flags.marked_for_deletion = 1;; + wpt->wpt_flags.marked_for_deletion = 1; } } } diff --git a/googletakeout.h b/googletakeout.h index ea549f6f5..51b9222f1 100644 --- a/googletakeout.h +++ b/googletakeout.h @@ -43,7 +43,7 @@ class GoogleTakeoutInputStream public: /* Special Member Functions */ GoogleTakeoutInputStream() = default; - GoogleTakeoutInputStream(const QString& source) : sources({source}) {}; + GoogleTakeoutInputStream(const QString& source) : sources({source}) {} /* Member Functions */ diff --git a/mtk_logger.cc b/mtk_logger.cc index d0a15a102..c67605a79 100644 --- a/mtk_logger.cc +++ b/mtk_logger.cc @@ -1027,7 +1027,7 @@ static int csv_line(gbfile* csvFile, int idx, unsigned long bmask, struct data_i QDateTime dt = QDateTime::fromSecsSinceEpoch(itm->timestamp, Qt::UTC); dt = dt.addMSecs(itm->timestamp_ms); - QString timestamp = dt.toUTC().toString("yyyy/MM/dd,hh:mm:ss.zzz");; + QString timestamp = dt.toUTC().toString("yyyy/MM/dd,hh:mm:ss.zzz"); gbfputs(timestamp, csvFile); gbfputc(',', csvFile); } -- 2.30.2